package org.biubiu0002.baiblog.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.biubiu0002.baiblog.core.model.entity.GroupUserEntity;
import org.biubiu0002.baiblog.core.model.vo.UserInfoVo;
import org.biubiu0002.baiblog.core.model.vo.req.GroupUserInviteReqVo;

import java.util.List;

/**
 * @Author: biubiu0002
 * @Date: 2022/12/8 14:09
 **/
public interface GroupUserService extends IService<GroupUserEntity> {
    /**
     * 获取群聊中的所有用户信息
     * @param uid 群聊uid
     * @return 用户信息List
     */
    List<UserInfoVo> getGroupUserInfo(String uid);

    /**
     * 获取群聊中的uidList
     * @param groupUid 群聊uid
     * @return uidList
     */
    List<String> getGroupUserUidList(String groupUid);

    /**
     * 邀请用户进入群聊
     * @param groupUserInviteReqVo reqVo
     */
    void inviteUser(GroupUserInviteReqVo groupUserInviteReqVo);
}
